<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">信托资管订单列表</li>
  </ol>
   <div ng-click="changeShowOrderManagerLayer()" style="filter: glow(color=black,strength=3); height:10px; color:red; padding:1px;float:right;">(消息)</div>
   
  <table class="table table-striped table-hover">
    <thead>
      <tr>
      
        <th width="60">订单ID</th>
        <th width="60">订单号</th>
        <th width="80">产品简称</th>
        <th width="80">订单金额</th>
        <th width="100">客户姓名</th>
        <th width="100">客户电话</th>
        <th width="100">理财师</th>
        <th width="100">状态</th>
        <th width="60">预约时间</th>
        <th width="60">处理时间</th>
        <th width="60">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="item in list">
       
        <td><a href="#/order/view?id={{item.orderId}}">{{item.orderId}}</a></td>
        <td><a href="#/order/view?id={{item.orderId}}">{{item.oCode}}</a></td>
        <td><a href="#/product/view?id={{item.oProjectId}}">{{item.oPName}}</a></td>
        <td>{{item.oAmount | moneyRender}}</td>
        <td>{{item.oCName}}</td>
        <td>{{item.oUMobile}}</td>
        <td><a href="#/fa/view?id={{item.oFAId}}">{{item.oULoginName}}</a></td>
        <td class="order-status-{{item.oStatus}}">{{item.oStatus | orderStatusRender}}</td>
        <td>{{item.createDate | date:'yyyy-MM-dd HH:mm'}}</td>
        <td>{{item.updateDate | date:'yyyy-MM-dd HH:mm'}}</td>
        <td class="optd">
          <a href="#/order/view?id={{item.orderId}}" has-auth where="btn" who="ORDER_EDIT">编辑</a>
        </td>
      </tr>
    <tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="list.length > 0"></div>
</div>

<div class="layer-box" ng-show="isShowOrderManagerLayer">
  <div class="layer-bg"></div>
  <div class="layer-con " style="padding:10px 20px;">
    <span class="icons-close" title="关闭" ng-click="isShowOrderManagerLayer = false;">X</span>
    <div class="layer-title">
      <label >今天的订单情况</label>
    </div>
    <div class="con-wrap">
      <div class="form-group" >
        <table class="order-f-h" style="width:100%">
          
          <div ng-if="orderList==''">无订单记录</div>
          <tr ng-repeat="order in orderList">
            <td >
              订单号：
            </td>
            <td >
              {{order.o_code}}
            </td>
            <td >
              当前状态
            </td>
            <td >
              {{order.o_status}}
            </td>
            <td >
              状态天数：
            </td>
            <td >
              {{order.dateDiffnow}}
            </td>
          </tr>
          
          
        </table>
      </div>
    </div>
  </div>
</div> 